package com.buleqr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.buleqr.dto.request.SearchFriendsGroupsQuery;
import com.buleqr.dto.response.ToApplyFriendVo;
import com.buleqr.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author maple
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    List<ToApplyFriendVo> searchFriend(@Param("query") SearchFriendsGroupsQuery query,Long loginUserId);

}
